#ifndef _SRV_ENGINE_HPP_
#define _SRV_ENGINE_HPP_

#include "srv_triggers_runner.hpp"

/*---------------------------------------------------------------------------*/

namespace ProjectManager
{
	struct Engine;
}

/*---------------------------------------------------------------------------*/

namespace Server {

/*---------------------------------------------------------------------------*/

class Engine
{
/*---------------------------------------------------------------------------*/

public:

/*---------------------------------------------------------------------------*/

	Engine();

	~Engine();

	void run();

/*---------------------------------------------------------------------------*/

private:

/*---------------------------------------------------------------------------*/

	ProjectManager::Engine& m_projectManager;

	TriggersRunner m_triggersRunner;

/*---------------------------------------------------------------------------*/

};

/*---------------------------------------------------------------------------*/

} // namespace Server

/*---------------------------------------------------------------------------*/

#endif // _SRV_ENGINE_HPP_
